package com.beiing.tianshuai.tianshuai.entity;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by Jinni on 2017/8/7 0007.
 */

public class ListUserBean {

    /**
     * code : 200
     * data : {"index":{"user":[{"id":"435","name":"哒哒哒","sign":"爱生活，爱天率。","unit":"绥化学院","email":"822600659@qq.com","pass":"4297f44b13955235245b2497399d7a93","code":"474728","addtime":"1505388061","codetimes":null,"state":"0","activated":"1","qq_ios":null,"qq_android":null,"sina":null,"wetch":null,"attestaction":"0","uid":"542","sex":"1","photo":"59bd1cde6a245.jpg","tel":"13009925562","status":"1"}],"group":[{"id":"146","uid":"542","groupname":"J进击的阿达、","groupnum":"2017092679372542","groupphoto":"59cb066a8d1ef.jpg","groupdesc":"欢迎大家加入本群，互相打个招呼吧！","groupnotice":"欢迎加入本群！","groupid":"28308902313986","status":"1","noticestatus":"0","create_time":"1506395873"}]}}
     */

    @SerializedName("code")
    private int code;
    @SerializedName("data")
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * index : {"user":[{"id":"435","name":"哒哒哒","sign":"爱生活，爱天率。","unit":"绥化学院","email":"822600659@qq.com","pass":"4297f44b13955235245b2497399d7a93","code":"474728","addtime":"1505388061","codetimes":null,"state":"0","activated":"1","qq_ios":null,"qq_android":null,"sina":null,"wetch":null,"attestaction":"0","uid":"542","sex":"1","photo":"59bd1cde6a245.jpg","tel":"13009925562","status":"1"}],"group":[{"id":"146","uid":"542","groupname":"J进击的阿达、","groupnum":"2017092679372542","groupphoto":"59cb066a8d1ef.jpg","groupdesc":"欢迎大家加入本群，互相打个招呼吧！","groupnotice":"欢迎加入本群！","groupid":"28308902313986","status":"1","noticestatus":"0","create_time":"1506395873"}]}
         */

        @SerializedName("index")
        private IndexBean index;

        public IndexBean getIndex() {
            return index;
        }

        public void setIndex(IndexBean index) {
            this.index = index;
        }

        public static class IndexBean {
            @SerializedName("user")
            private List<UserBean> user;
            @SerializedName("group")
            private List<GroupBean> group;

            public List<UserBean> getUser() {
                return user;
            }

            public void setUser(List<UserBean> user) {
                this.user = user;
            }

            public List<GroupBean> getGroup() {
                return group;
            }

            public void setGroup(List<GroupBean> group) {
                this.group = group;
            }

            public static class UserBean {
                /**
                 * id : 435
                 * name : 哒哒哒
                 * sign : 爱生活，爱天率。
                 * unit : 绥化学院
                 * email : 822600659@qq.com
                 * pass : 4297f44b13955235245b2497399d7a93
                 * code : 474728
                 * addtime : 1505388061
                 * codetimes : null
                 * state : 0
                 * activated : 1
                 * qq_ios : null
                 * qq_android : null
                 * sina : null
                 * wetch : null
                 * attestaction : 0
                 * uid : 542
                 * sex : 1
                 * photo : 59bd1cde6a245.jpg
                 * tel : 13009925562
                 * status : 1
                 */

                @SerializedName("id")
                private String id;
                @SerializedName("name")
                private String name;
                @SerializedName("sign")
                private String sign;
                @SerializedName("unit")
                private String unit;
                @SerializedName("email")
                private String email;
                @SerializedName("pass")
                private String pass;
                @SerializedName("code")
                private String code;
                @SerializedName("addtime")
                private String addtime;
                @SerializedName("codetimes")
                private String codetimes;
                @SerializedName("state")
                private String state;
                @SerializedName("activated")
                private String activated;
                @SerializedName("qq_ios")
                private String qqIos;
                @SerializedName("qq_android")
                private String qqAndroid;
                @SerializedName("sina")
                private String sina;
                @SerializedName("wetch")
                private String wetch;
                @SerializedName("attestaction")
                private String attestaction;
                @SerializedName("uid")
                private String uid;
                @SerializedName("sex")
                private String sex;
                @SerializedName("photo")
                private String photo;
                @SerializedName("tel")
                private String tel;
                @SerializedName("status")
                private String status;

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getSign() {
                    return sign;
                }

                public void setSign(String sign) {
                    this.sign = sign;
                }

                public String getUnit() {
                    return unit;
                }

                public void setUnit(String unit) {
                    this.unit = unit;
                }

                public String getEmail() {
                    return email;
                }

                public void setEmail(String email) {
                    this.email = email;
                }

                public String getPass() {
                    return pass;
                }

                public void setPass(String pass) {
                    this.pass = pass;
                }

                public String getCode() {
                    return code;
                }

                public void setCode(String code) {
                    this.code = code;
                }

                public String getAddtime() {
                    return addtime;
                }

                public void setAddtime(String addtime) {
                    this.addtime = addtime;
                }

                public String getCodetimes() {
                    return codetimes;
                }

                public void setCodetimes(String codetimes) {
                    this.codetimes = codetimes;
                }

                public String getState() {
                    return state;
                }

                public void setState(String state) {
                    this.state = state;
                }

                public String getActivated() {
                    return activated;
                }

                public void setActivated(String activated) {
                    this.activated = activated;
                }

                public String getQqIos() {
                    return qqIos;
                }

                public void setQqIos(String qqIos) {
                    this.qqIos = qqIos;
                }

                public String getQqAndroid() {
                    return qqAndroid;
                }

                public void setQqAndroid(String qqAndroid) {
                    this.qqAndroid = qqAndroid;
                }

                public String getSina() {
                    return sina;
                }

                public void setSina(String sina) {
                    this.sina = sina;
                }

                public String getWetch() {
                    return wetch;
                }

                public void setWetch(String wetch) {
                    this.wetch = wetch;
                }

                public String getAttestaction() {
                    return attestaction;
                }

                public void setAttestaction(String attestaction) {
                    this.attestaction = attestaction;
                }

                public String getUid() {
                    return uid;
                }

                public void setUid(String uid) {
                    this.uid = uid;
                }

                public String getSex() {
                    return sex;
                }

                public void setSex(String sex) {
                    this.sex = sex;
                }

                public String getPhoto() {
                    return photo;
                }

                public void setPhoto(String photo) {
                    this.photo = photo;
                }

                public String getTel() {
                    return tel;
                }

                public void setTel(String tel) {
                    this.tel = tel;
                }

                public String getStatus() {
                    return status;
                }

                public void setStatus(String status) {
                    this.status = status;
                }
            }

            public static class GroupBean {
                /**
                 * id : 146
                 * uid : 542
                 * groupname : J进击的阿达、
                 * groupnum : 2017092679372542
                 * groupphoto : 59cb066a8d1ef.jpg
                 * groupdesc : 欢迎大家加入本群，互相打个招呼吧！
                 * groupnotice : 欢迎加入本群！
                 * groupid : 28308902313986
                 * status : 1
                 * noticestatus : 0
                 * create_time : 1506395873
                 */

                @SerializedName("id")
                private String id;
                @SerializedName("uid")
                private String uid;
                @SerializedName("groupname")
                private String groupname;
                @SerializedName("groupnum")
                private String groupnum;
                @SerializedName("groupphoto")
                private String groupphoto;
                @SerializedName("groupdesc")
                private String groupdesc;
                @SerializedName("groupnotice")
                private String groupnotice;
                @SerializedName("groupid")
                private String groupid;
                @SerializedName("status")
                private String status;
                @SerializedName("noticestatus")
                private String noticestatus;
                @SerializedName("create_time")
                private String createTime;

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getUid() {
                    return uid;
                }

                public void setUid(String uid) {
                    this.uid = uid;
                }

                public String getGroupname() {
                    return groupname;
                }

                public void setGroupname(String groupname) {
                    this.groupname = groupname;
                }

                public String getGroupnum() {
                    return groupnum;
                }

                public void setGroupnum(String groupnum) {
                    this.groupnum = groupnum;
                }

                public String getGroupphoto() {
                    return groupphoto;
                }

                public void setGroupphoto(String groupphoto) {
                    this.groupphoto = groupphoto;
                }

                public String getGroupdesc() {
                    return groupdesc;
                }

                public void setGroupdesc(String groupdesc) {
                    this.groupdesc = groupdesc;
                }

                public String getGroupnotice() {
                    return groupnotice;
                }

                public void setGroupnotice(String groupnotice) {
                    this.groupnotice = groupnotice;
                }

                public String getGroupid() {
                    return groupid;
                }

                public void setGroupid(String groupid) {
                    this.groupid = groupid;
                }

                public String getStatus() {
                    return status;
                }

                public void setStatus(String status) {
                    this.status = status;
                }

                public String getNoticestatus() {
                    return noticestatus;
                }

                public void setNoticestatus(String noticestatus) {
                    this.noticestatus = noticestatus;
                }

                public String getCreateTime() {
                    return createTime;
                }

                public void setCreateTime(String createTime) {
                    this.createTime = createTime;
                }
            }
        }
    }
}
